<div class="container col-thin" ng-controller="favController">
    <div class="row">
        <div class="col-xs-12 col-panel-profile col-nav-fav">
            <!-- Nav tabs -->
                <ul class="nav nav-fav" role="tablist" ng-init="isUser = true">
                    <li role="presentation" ng-click="isUser = true">
                        <a href="#user" aria-controls="user" role="tab" data-toggle="tab" class="nav-profile fl-left" ng-class="{true: 'active'}[isUser]">收藏的用户</a>
                    </li>
                    <li role="presentation" ng-click="isUser = false">
                        <a href="#mission" aria-controls="mission" role="tab" data-toggle="tab" class="nav-profile fl-right" ng-class="{false: 'active'}[isUser]">收藏的任务</a>
                    </li>
                </ul>
        </div>
    </div>

    <div class="row">
        <div class="col-xs-12 col-thin">
            <!-- Tab panes -->
            <div class="tab-content">
                <!-- User part -->
                <div role="tabpanel" class="tab-pane active" id="user">
                    <ul class="ul-fav-user">
                        <li ng-repeat="user in userFav">
                            <div class="row">
                                <div class="col-xs-10 col-user-info tag-group">
                                    <img ng-src="__UPLOAD__/{{ user.image_url }}" width="50px" height="50px">
                                    <a href="<{:U('FetcherInfo/index')}>/user_id/{{ user.collected_id }}">
                                        <span class="text-name">{{ user.user_name }}</span>
                                    </a>
                                    <span ng-show="user.trust == 2" class="tag-credit">信</span>
                                    <span class="tag-level-first">甲.V1</span>
                                    <span class="tag-level-second">乙.V1</span>
                                </div>
                                <div class="col-xs-2 col-thin">
                                    <span class="icon-fav-del" ng-click="delFavUser(user.collected_id)">取消收藏</span>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>

                <!-- Mission part -->
                <div role="tabpanel" class="tab-pane" id="mission">
                    <!--<div class="row">-->
                        <div class="col-xs-12 col-thin">
                            <ul class="ul-normal">
                                <li class="col-normal" ng-repeat="mission in missionFav">
                                    <a class="text-link" href="<{:U('Task/index')}>/mission/{{ mission.collected_id }}">
                                        <div class="row">
                                            <div class="col-xs-10">

                                                    <h4>
                                                        {{ mission.mission_name }}
                                                    </h4>

                                            </div>
                                            <div class="col-xs-2 col-thin">
                                                <span class="icon-fav-del" ng-click="delFavMission(mission.collected_id)">取消收藏</span>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12 col-mission-info tag-group">
                                                <!--<a href="<{:U('FetcherInfo/index')}>/user_id/{{ mission.publisher_id }}">-->
                                                    <span class="text-name">{{ mission.publisher_name }}</span>
                                                <!--</a>-->
                                                <span ng-show="mission.trust == 2" class="tag-credit">信</span>
                                                <span class="tag-level-first">甲.V{{ mission.level_j }}</span>
                                                <span class="text-tips">{{ getTimePast(mission.publish_time) }}</span>
                                            </div>
                                            <!--<div class="col-xs-5">-->
                                                <!--<span class="icon-salary">{{ mission.salaryMeaning }}</span>-->
                                            <!--</div>-->
                                        </div>
                                        <div class="row wrap-col-cont">
                                            <div class="col-xs-12">
                                                <dl class="dl-horizontal-single">
                                                    <dt><span class="text-salary">薪酬范围</span></dt>
                                                    <dd><span class="text-salary">{{ mission.salaryMeaning }}&nbsp;</span></dd>
                                                    <dt>岗位需求</dt>
                                                    <dd>{{ mission.jobs }}&nbsp;</dd>
                                                    <dt>工作时限</dt>
                                                    <dd>{{ mission.durationMeaning }}&nbsp;</dd>
                                                    <dt>工作地点</dt>
                                                    <dd>{{ mission.locationMeaning }}&nbsp;</dd>
                                                </dl>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    <!--</div>-->
                </div>
            </div>
        </div>
    </div>
</div>